/*
 * @Author       : xiangmin
 * @File         : 自定义指令
 * @Date         : 2023-06-23 11:36:11
 * @LastEditors  : xiangmin
 * @LastEditTime : 2023-10-12 13:57:26
 */
import type { App } from 'vue'
import auth from './v-auth'
import ellipsis from './v-ellipsis'
import empty from './v-empty'
import focus from './v-focus'
import loading from './v-loading'
import mask from './v-mask'

export default {
	install(app: App) {
		app.directive('ellipsis', ellipsis)
			.directive('loading', loading)
			.directive('empty', empty)
			.directive('auth', auth)
			.directive('mask', mask)
			.directive('focus', focus)
	}
}
